import requests
def echo():
    r=requests.get("http://localhost:8000/admin/index/login")
    print(r.content)
def post():
    r = requests.post("http://localhost:8000/admin/nav/addgroup",data = {'key':'value'})
    print(r.content)

if __name__ == '__main__':
    post()
